-
-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core): add filter disabling thought config #937
Conversation
131de5b
to
5a30724
Compare
POC: Don't like |
@@ -20,7 +28,7 @@ class AllureTestFilter(val cnf: TestFilterConfiguration.AllureFilterConfiguratio | |||
} | |||
} | |||
|
|||
override fun filter(tests: List<Test>): List<Test> { | |||
override fun filterPredicate(tests: List<Test>): List<Test> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Predicate returns bool
, this function is not a predicate
import com.malinskiy.marathon.execution.TestFilter | ||
import com.malinskiy.marathon.test.Test | ||
|
||
interface ToggleTestFilter : TestFilter { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just change the TestFilter to a base class and add this logic there
5a30724
to
4a50a78
Compare
4a50a78
to
48bb1ba
Compare
No description provided.